package com.notecalendar.dao;

import java.math.BigInteger;
import java.util.List;

import com.notecalendar.model.Evernote_File;


/**
 * Interface for defining methods for bean model Evernote_File
 * @author angelcereijo
 *
 */
public interface Evernote_FileDao{
	/**
	 * Insert a new evernote_file in database
	 * @param evernote_file
	 * @return the element with its new id
	 */
	Evernote_File insertEvernote_File(Evernote_File evernote_file);
	
	/**
	 * Find one evernote_file
	 * @param id
	 * @return
	 */
	Evernote_File findEvernote_File(BigInteger id);
	
	/**
	 * Find all evernote_file in database
	 * @return
	 */
	List<Evernote_File> findAllEvernote_File();
	
	
	/**
	 * Find all evernote_file in database for one evenore_ide
	 * @param evernote_id
	 * @return
	 */
	List<Evernote_File> findAllEvernote_FileUser(BigInteger evernote_id);
	
	/**
	 * Delete one evernote_file 
	 * @param evernote_file
	 */
	void deleteEvernote_File(Evernote_File evernote_file);
	
}
